/**
 * @(#)ItemService.java, 2018/2/5.
 * <p/>
 * Copyright 2018 Kerr Wang, Inc. All rights reserved.
 * KERRWANG PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package org.wangzx.exercise.service.basic;

import org.wangzx.exercise.meta.vo.ItemVO;
import org.wangzx.exercise.meta.vo.UserVO;

import java.util.List;

/**
 * @author hzwangzuxiang(ahscwzx@163.com)
 */
public interface ItemService {
    public List<ItemVO> getAllItemVO(UserVO userVO);

    public long insertItem(ItemVO itemVO, long sellerId);

    public ItemVO getById(long id, UserVO userVO);

    public boolean updateItem(ItemVO itemVO);

    public List<ItemVO> getNotBuyItems(long buyerId);
}